Skip to content

Conversation

zgjja
Copy link

@zgjja zgjja commented Sep 27, 2024

Motivation

As title, when Config key object contains something other than str, this code would failed, a config example is in the RTMO in mmpose:

        epoch_attributes={
            280: {
                "proxy_target_cc": True,
                "overlaps_power": 1.0,
                "loss_cls.loss_weight": 2.0,
                "loss_mle.loss_weight": 5.0,
                "loss_oks.loss_weight": 10.0,
            }
        },

Modification

Fix this by converting it to str first

Use cases (Optional)

This PR only works when using MLflowVisBackend in a config file like:

vis_backends = [
    dict(type='MLflowVisBackend', save_dir='xxx', tracking_uri='http://xxx:xxx'),
    ...
]

@CLAassistant
Copy link

CLAassistant commented Sep 27, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants